<?
	unset($params);
	$params[sid] = $sid;
	$params[action] = 'tickets';
	$params[option] = 'vote';
	$params[tid] = $tid;
	$url = "$baseURL/$webDIR/?".encode_params($params);
?>
<form action="<?=$url?>" method="post" enctype="multipart/form-data" name="rateTicket" id="rateTicket">
  <table border="0" cellspacing="0" cellpadding="0" class="bTable" width="550">
    <tr>
      <th>:: <?=translate('ticket_num')?> <?=$tid?> <?=translate('survey')?> ::</th>
    </tr>
    <tr>
      <td>
	   <strong><?=translate('vote_q1')?></strong><br>
	   <select name="vote1" id="vote1">
         <option value="5" selected> 5 </option>
         <option value="4"> 4 </option>
         <option value="3"> 3 </option>
         <option value="2"> 2 </option>
         <option value="1"> 1 </option>
       </select>
 <?=translate('vote_tips')?><br>&nbsp;</td>
    </tr>
    <tr>
      <td>
	  <strong><?=translate('vote_q2')?></strong><br>
	  <select name="vote2"  id="vote2">
        <option value="5" selected> 5 </option>
        <option value="4"> 4 </option>
        <option value="3"> 3 </option>
        <option value="2"> 2 </option>
        <option value="1"> 1 </option>
      </select>
       <?=translate('vote_tips')?><br>&nbsp;</td>
    </tr>
    <tr>
      <td>
	  <strong><?=translate('vote_q3')?></strong><br>
	  <select name="vote3" id="vote3">
        <option value="5" selected> 5 </option>
        <option value="4"> 4 </option>
        <option value="3"> 3 </option>
        <option value="2"> 2 </option>
        <option value="1"> 1 </option>
      </select>
      <?=translate('vote_tips')?><br>&nbsp;</td>
    </tr>
    <tr>
      <td>
	  <strong><?=translate('vote_q4')?></strong><br>
	  <select name="vote4" id="vote4">
        <option value="5" selected> 5 </option>
        <option value="4"> 4 </option>
        <option value="3"> 3 </option>
        <option value="2"> 2 </option>
        <option value="1"> 1 </option>
      </select>
       <?=translate('vote_tips')?><br>&nbsp;</td>
    </tr>
    <tr>
      <td>
	  <strong><?=translate('vote_comments')?></strong><br>
	  <textarea name="votecomment" cols="55" rows="8" wrap="VIRTUAL" id="votecomment"></textarea>
	  <br>&nbsp;</td>
    </tr>
    <tr>
      <td><input name="RateTicket" type="submit" id="RateTicket" style="width: 150px" value="<?=translate('vote')?>"></td>
    </tr>
  </table>
</form>